package com.service;


import com.bean.Role;
import com.bean.User;
import com.dao.RoleMapper;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Samsara
* @description 针对表【role】的数据库操作Service
* @createDate 2023-01-18 03:30:53
*/
public interface RoleService {

    Integer insertBatch(List<Role> roleList);

    Integer updateBatch(List<Role> roleList);

    Integer deleteBatch(List<Role> roleList);

    List<Role> selectRoleList(List<Role> roleList,Integer start,Integer end);

    List<Role> selectRoleListAndUserList(List<Role> roleList, Integer start, Integer end);
}
